package com.mycode.chapter03.processor.impl;

import com.mycode.chapter03.connector.http.HttpRequest;
import com.mycode.chapter03.connector.http.HttpResponse;

import java.io.IOException;

// 静态资源处理器
public class StaticResourceProcessor{

    public void process(HttpRequest request, HttpResponse response) {
        try {
            response.sendStaticResource();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
